package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

//发货单
@Data
@TableName("dispatch_list")
public class DispatchList {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 规则 ，多个订单号的情况下  用 “-”做区分
     */
    @TableField(value = "dispatch_order_id")
    private String dispatchOrderId;

    /**
     * 用于还原订单状态，或者做发货的订单信息查询 用户可能会撤回订单发货
     */
    @TableField(value = "origin_order_json")
    private String originOrderJson;

    /**
     * 订单状态 0  待发货  1已发货
     */
    @TableField(value = "process_status")
    private Integer processStatus;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 用户收获昵称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 用户手机号
     */
    @TableField(value = "phone_number")
    private String phoneNumber;

    /**
     * 用户地址
     */
    @TableField(value = "address")
    private String address;


    /**
     * 用户备注 / 客服备注
     */
    @TableField(value = "message")
    private String message;


    @TableField(value = "create_time")
    private String createTime;


    @TableField(value = "update_time")
    private String updateTime;

    private Integer type;

    private String openId;

    private String realOrderNum;

    private String transactionId;


}
